package com.xj.api.bussiness.userInfo.service.impl;

import com.baomidou.mybatisplus.mapper.Condition;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.xj.api.bussiness.userInfo.service.ITbUserInfoService;
import com.xj.common.bussiness.userInfo.entity.TbUserInfo;
import com.xj.common.bussiness.userInfo.mapper.TbUserInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Hmemb
 * @since 2018-02-27
 */
@Service
public class TbUserInfoServiceImpl extends ServiceImpl<TbUserInfoMapper, TbUserInfo> implements ITbUserInfoService {

    @Autowired
    private TbUserInfoMapper userInfoMapper;


    @Override
    public List<TbUserInfo> getUserInfoByCondition(TbUserInfo bean) {
        return userInfoMapper.getUserInfoByCondition(bean);
    }

    @Override
    public String selectWxUserByIdentification(String identification) {
        return userInfoMapper.selectWxUserByIdentification(identification);
    }
}
